Cover | TOC | Chap | Prev Chap | Prev Fig | Next Fig | Next Chap |
|
Figure 6.9
A 3-D asterisk ball built with cylinders in rotated coordinate systems |
|
Click on the image to view the VRML scene. |
#VRML V2.0 utf8 # The VRML 2.0 Sourcebook # Copyright (c) 1997 # Andrea L. Ames, David R. Nadeau, and John L. Moreland Group { children [ # Arm 1 DEF Arm1 Shape { appearance Appearance { material Material { } } geometry Cylinder { height 1.0 radius 0.1 } }, # Arm 2 DEF Arm2 Transform { rotation 1.0 0.0 0.0 1.047 children USE Arm1 }, # Arm 3 DEF Arm3 Transform { rotation 1.0 0.0 0.0 2.094 children USE Arm1 }, # Arms 4 and 5 Transform { rotation 0.0 1.0 0.0 1.785 children [ USE Arm2, USE Arm3 ] } ] }